package com.dianban.dao;

import com.dianban.entity.StoreManager;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StoreManagerDao {
    StoreManager findById(@Param("id") Long id);

    StoreManager findByUserId(@Param("userId") Long userId);

    void insert(StoreManager storeManager);

    StoreManager findByStoreId(@Param("storeId") Long storeId);
}
